﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Staff_EditStudent : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string name = Request.QueryString["name"];
            string ma = Request.QueryString["ma"] as string;


            MainContent_TBhoten.Value = name;
            MainContent_TBemail.Value = "1021531011" + ma + "@sv.dut.edu.vn";
        }
    }

    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
    protected void DropDownList1_SelectedIndexChanged1(object sender, EventArgs e)
    {
        //string name = DropDownList1.SelectedItem.Text;
        //string ma = DropDownList1.SelectedValue;

        //Response.Redirect("~/Staff_EditStudent.aspx?name=" + name + "&ma=" + ma);
    }
    protected void DropDownList1_TextChanged(object sender, EventArgs e)
    {
        //string name = DropDownList1.SelectedItem.Text;
        //string ma = DropDownList1.SelectedValue;

        //Response.Redirect("~/Staff_EditStudent.aspx?name=" + name + "&ma=" + ma);
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        string name = DropDownList1.SelectedItem.Text;
        string ma = DropDownList1.SelectedValue;

        Response.Redirect("~/Staff_EditStudent.aspx?name=" + name + "&ma=" + ma);
    }
}